package com.casework

class ToolTipTagLib {

    static namespace = 'casework'

    def tooltip = {attrs ->
        def writer = new StringWriter()

        writer << """<span class="tooltip" original-title="${attrs.title}">(i)</span>"""

        out << writer
    }

    def tooltipWest = {attrs ->
        def writer = new StringWriter()

        writer << """<span class="tooltip-west" original-title="${attrs.title}">(i)</span>"""

        out << writer
    }
}
